home *** CD-ROM | disk | FTP | other *** search
/ MacWorld: Super Stacks! / Macworld CD.iso / HyperCard Archives / International / French v1.2.5.1 / Piles principales / Notes sur la version 1.2.5 / card_5451.txt < prev    next >
Text File  |  1989-10-04  |  2KB  |  71 lines

  1. -- card: 5451 from stack: in.5
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 5683
  5. -- name: clickH et clickV
  6.  
  7.  
  8. -- part contents for background part 7
  9. ----- text -----
  10. clickH et clickV
  11.  
  12. -- part contents for background part 8
  13. ----- text -----
  14. the clickH
  15. the clickV
  16.  
  17. -- part contents for background part 10
  18. ----- text -----
  19. aucun
  20.  
  21. -- part contents for background part 11
  22. ----- text -----
  23. The clickH renvoie le nombre entier de pixels s√©parant l'endroit du dernier clic du bord gauche de la fen√™tre de carte (√©quivalent de item 1 of the clickLoc).  The clickV renvoie le nombre entier de pixels s√©parant l'endroit du dernier clic du bord sup√©rieur de la fen√™tre de carte (√©quivalent de item 2 of the clickLoc).
  24.  
  25. -- part contents for background part 17
  26. ----- text -----
  27. --affichage des coordonn√©es horizontale et 
  28. --verticale du clic
  29. click at 256,171
  30. put the clickH  -- affiche 256
  31. put the clickV  -- affiche 171
  32.  
  33. --alignement du bord gauche de 3 boutons
  34. --sur l'endroit o√π clique l'utilisateur
  35.  
  36. get the clickV
  37. set the left of bg btn 1 to it
  38. set the left of bg btn 2 to it
  39. set the left of bg btn 3 to it
  40.  
  41.  
  42.  
  43.  
  44.  
  45. -- part contents for background part 9
  46. ----- text -----
  47. Nouvelles fonctions HyperTalk 
  48. Carte 1 sur 10
  49.  
  50.  
  51. -- part contents for background part 18
  52. ----- text -----
  53. on clickDemo
  54. --affichage de clickH et clickV
  55.    click at 15,100 --(ou attendre un clic)
  56.    put "Coordonn√©e horizontale :" && the clickH &&¬¨
  57.        "   Coordonn√©e verticale :" && the clickV
  58.  
  59. --d√©placement d'un bouton en fonction de clickH
  60.      if the clickLoc is within "0,0,512,342" then
  61.       set the left of bg btn "d√©mo" to the clickH
  62.       wait 2 seconds
  63.       set the left of bg btn "d√©mo" to 422
  64.    end if
  65.    cleanExit
  66. end clickDemo
  67.  
  68. -- part contents for background part 31
  69. ----- text -----
  70. Coordonnées
  71.